﻿using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Audio;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VRB_0._1
{
    class PauseScreen
    {
        protected SpriteFont font;
        protected Texture2D paws;
        protected Texture2D background;

        public void Initialize(ContentManager Content)
        {
            font = Content.Load<SpriteFont>("gameFont");
            paws = Content.Load<Texture2D>("paws");
            background = Content.Load<Texture2D>("meny");
        }
        public void Draw(SpriteBatch spriteBatch, Viewport Viewport)
        {
            spriteBatch.Draw(background, Vector2.Zero, Color.White);
            spriteBatch.Draw(paws, new Vector2(Viewport.TitleSafeArea.X + 202, Viewport.TitleSafeArea.Y + Viewport.Height / 2 - 10), Color.White);
            spriteBatch.DrawString(font, "P A W S",
                        new Vector2(Viewport.TitleSafeArea.X + 235, Viewport.TitleSafeArea.Y + Viewport.Height / 2 - 20), Color.White);
            spriteBatch.Draw(paws, new Vector2(Viewport.TitleSafeArea.X + 340, Viewport.TitleSafeArea.Y + Viewport.Height / 2 - 10), Color.White);
        }
        public Game1.GameState InputPause()
        {
            return Game1.GameState.GAME;
        }
    }
}
